import { configureStore } from '@reduxjs/toolkit'
import userSlice from './reducers/userSlice'
import permissionSlice from './reducers/permissionSlice'
// 创建store对象
const store = configureStore({
    reducer: {
        user: userSlice.reducer,
        permission: permissionSlice.reducer
    }
})

export default store
